package com.offcn.service;

import com.offcn.pojo.Member;
import com.offcn.pojo.Role;
import com.offcn.pojo.vo.ErrorVo;
import com.offcn.pojo.vo.LoginUserVo;
import com.offcn.pojo.vo.MemberVo;

import java.util.ArrayList;
import java.util.List;

public interface MemberService {


    


    Role selectRoleBySessionMember(Member sessionMember);

    Object selectMemberByLoginUserVo(LoginUserVo loginUserVo);


    List<Member> getMemberBymemberSession(Member memberSession);


    List<Member> getMemberBymemberSessionMohu(Member memberSession,MemberVo memberVo);


    boolean save(Member memberSession, Member member, String permissionsId);

    List<ErrorVo> batchDelete(Member memberSession, ArrayList<Integer> idsList);
}
